#: import gch kivy.utils.get_color_from_hex
#: import PieChartLine libs.baseclass.pie_chart_line.PieChartLine


<RallyBillsScreen>

    ScrollView:

        MDList:
            spacing: dp(20)

            PieChartLine:
                text: "Due\n$ 1,732.69"
                angle_start: [90, 160, 285, 305]
                angle_end: [155, 280, 300, 445]
                line_color: [gch("#F8BBD0"), gch("#FF6859"), gch("#FFA726"), gch("#FFCF44")]

            MDList:

                RallyListItem:
                    text: "RedPay Credit"
                    secondary_text: "29 Jan"
                    tertiary_text: "$ 45.36"
                    bar_color: gch("#FFCF44")

                RallyListItem:
                    text: "Rent"
                    secondary_text: "9 Feb"
                    tertiary_text: "$ 1,200.00"
                    bar_color: gch("#FF6859")

                RallyListItem:
                    text: "TabFine Credit"
                    secondary_text: "22 Feb"
                    tertiary_text: "$ 87.33"
                    bar_color: gch("#F8BBD0")

                RallyListItem:
                    text: "ABC Loan"
                    secondary_text: "1 Mar"
                    tertiary_text: "$ 400.00"
                    bar_color: gch("#FFA726")
